package com.runvp.common.enums;


/**
 * 支付渠道(W:微信支付,A:阿里支付)
 * @author xukk_dp
 */

public enum PayPlat implements BaseEnumInterface {

    PAY_OTHER("OT", "三方支付"),
    PAY_NATIVE("WNA", "原生支付"),
    PAY_QR_WECHAT("wechat_qr", "微信二维码"),
    PAY_QR_ALIPAY("alipay_qr", "支付宝二维码");

    private String code;
    private String desc;
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }


    PayPlat(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }

    PayPlat(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
